package com.gaogzhen.juc.atomic.Reference;

import java.math.BigDecimal;

/**
 * 测试类
 */
public class TestAccount {
    public static void main(String[] args) {

        AccountDecimal account3 = new AccountDecimalCAS(new BigDecimal("10000"));
        AccountDecimal.multiWithdraw(account3);

    }
}
